﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" Inherits="Nivdal.CreatePrivateForum" Title=" " StylesheetTheme="SkinFile" Codebehind="CreatePrivateForum.aspx.cs" %>

<asp:Content ID="PageNameContent" ContentPlaceHolderID="PageNamePlaceHolder" runat="server">
    <asp:Label ID="PageNameLabel" runat="server" Text="<%$ Resources:Resource, CreatePrivateForum_PageNameLabel %>" CssClass="PageNameContentStyle"></asp:Label>
</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div class="basic_element">
    <div class="red_title">
       <asp:Label ID="RedTitleLabel" runat="server" Text="<%$ Resources:Resource, CreatePrivateForum_PageNameLabel %>" CssClass="white_title"></asp:Label>
    </div>
    <div class="padding5">
        <asp:Label ID="ErrorLabel" runat="server" Text=""></asp:Label>
        <table style="width: 100%;">
            <tr>
                <td>
                    <asp:Label ID="ForumNameLabel" runat="server" Text='<%$ Resources:Resource, Global_ForumName %>' SkinID="InfoLabel"></asp:Label>
                </td>
                <td>              
                    <asp:TextBox ID="ForumNameTextBox" runat="server" MaxLength="128" Width="300"></asp:TextBox>
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="ForumNameRequiredFieldValidator" runat="server" 
                ErrorMessage="<%$ Resources:Resource, CreatePrivateForum_RequiredFieldValidatorText %>" ControlToValidate="ForumNameTextBox" 
                SetFocusOnError="True" ValidationGroup="PrivateForum"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="PublicInfoLabel" runat="server" Text="<%$ Resources:Resource, CreatePrivateForum_PublicInfoLabel %>" SkinID="InfoLabel"></asp:Label></td>
                <td>
                <CustomControls:TextArea runat="server" ID="PublicInfoTextArea" MaxLength="256" TextMode="MultiLine"
                Rows="3" Height="100px" Width="300px"></CustomControls:TextArea>
                </td>
                <td>
                    <asp:Label ID="PublicInfoTextLabel" runat="server" Text="<%$ Resources:Resource, CreatePrivateForum_PublicInfoTextLabel %>" SkinID="InfoLabel"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                   <asp:Label ID="PrivateInfoLabel" runat="server" Text="<%$ Resources:Resource, CreatePrivateForum_PrivateInfoLabel %>" SkinID="InfoLabel"></asp:Label>
                </td>
                <td>
                    <CustomControls:TextArea runat="server" ID="PrivateInfoTextArea" MaxLength="256" TextMode="MultiLine"
                    Rows="4" Height="100px" Width="300px"></CustomControls:TextArea>
                </td>
                <td>
                    <asp:Label ID="PrivateInfoTextLabel" runat="server" Text="<%$ Resources:Resource, CreatePrivateForum_PrivateInfoTextLabel %>" SkinID="InfoLabel"></asp:Label>
                </td>
            </tr>
            <tr>
                
                <td colspan="2">
                    <div style="width:100%; text-align:center; padding-top:5px;">
                    <asp:Button ID="CreateNewForumButton" runat="server" Text="<%$ Resources:Resource, Global_Add %>" 
                    ValidationGroup = "PrivateForum" ToolTip="<%$ Resources:Resource, CreatePrivateForum_CreateNewForumButton %>"
                        onclick="CreateNewForumButton_Click" CssClass="GreenButtonTextStyle" /></div>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>
   </div>
    </div> 
</asp:Content>

